package com.ninetaildemonfox.zdl.socialproject.data.entity;

import java.util.List;

/**
 * Created by dell-pc on 2019/1/5.
 */

public class HotCityBean {

    /**
     * code : 1
     * message : 请求成功
     * data : [{"title":"热门城市","item":[{"id":"2","letter":"B","region_name":"北京"},{"id":"76","letter":"G","region_name":"广州市"},{"id":"25","letter":"S","region_name":"上海"},{"id":"27","letter":"T","region_name":"天津"}]}]
     */

    private int code;
    private String message;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * title : 热门城市
         * item : [{"id":"2","letter":"B","region_name":"北京"},{"id":"76","letter":"G","region_name":"广州市"},{"id":"25","letter":"S","region_name":"上海"},{"id":"27","letter":"T","region_name":"天津"}]
         */

        private String title;
        private List<ItemBean> item;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public List<ItemBean> getItem() {
            return item;
        }

        public void setItem(List<ItemBean> item) {
            this.item = item;
        }

        public static class ItemBean {
            /**
             * id : 2
             * letter : B
             * region_name : 北京
             */

            private String id;
            private String letter;
            private String region_name;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getLetter() {
                return letter;
            }

            public void setLetter(String letter) {
                this.letter = letter;
            }

            public String getRegion_name() {
                return region_name;
            }

            public void setRegion_name(String region_name) {
                this.region_name = region_name;
            }

            @Override
            public String toString() {
                return "ItemBean{" +
                        "id='" + id + '\'' +
                        ", letter='" + letter + '\'' +
                        ", region_name='" + region_name + '\'' +
                        '}';
            }
        }
    }
}
